package com.ruoyi.cpsp.domain;
/*
    @author neu.xiangwenjuan
    @create 2023/3/14
*/

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("previous_performance_data")
public class PreviousPerformanceData {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer year;

    private Integer quarter;

    @TableField(value = "employee_idCard")
    private String employeeIdCard;

    @TableField(value = "cumulative_base")
    private double cumulativeBase;// 累积基数，每月初始绩效值

    @TableField(value = "evaluate_record_id")
    private String evaluateRecordId; // 违章id

    @TableField(value = "increase_base")
    private double increaseBase; // 累加幅度，每个月添加的绩效值

    @TableField(value = "proportion_of_punishment")
    private double proportionOfPunishment; // 扣减比例

    @TableField(value = "value_of_punishment")
    private double valueOfPunishment; // 扣减金额

    @TableField(value = "current_base")
    private double currentBase; // 当前月的绩效值

    @TableField(value = "money_everymonth")
    private double moneyEveryMonth;

    @TableField(value = "money_quarter")
    private double moneyQuarter;

    @TableField(value = "on_work")
    private Integer onWork;

    private String annotation;

    public String getAnnotation() {
        return annotation;
    }

    public void setAnnotation(String annotation) {
        this.annotation = annotation;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public Integer getQuarter() {
        return quarter;
    }

    public void setQuarter(Integer quarter) {
        this.quarter = quarter;
    }

    public String getEmployeeIdCard() {
        return employeeIdCard;
    }

    public void setEmployeeIdCard(String employeeIdCard) {
        this.employeeIdCard = employeeIdCard;
    }

    public double getCumulativeBase() {
        return cumulativeBase;
    }

    public void setCumulativeBase(double cumulativeBase) {
        this.cumulativeBase = cumulativeBase;
    }

    public String getEvaluateRecordId() {
        return evaluateRecordId;
    }

    public void setEvaluateRecordId(String evaluateRecordId) {
        this.evaluateRecordId = evaluateRecordId;
    }

    public double getIncreaseBase() {
        return increaseBase;
    }

    public void setIncreaseBase(double increaseBase) {
        this.increaseBase = increaseBase;
    }

    public double getProportionOfPunishment() {
        return proportionOfPunishment;
    }

    public void setProportionOfPunishment(double proportionOfPunishment) {
        this.proportionOfPunishment = proportionOfPunishment;
    }

    public double getValueOfPunishment() {
        return valueOfPunishment;
    }

    public void setValueOfPunishment(double valueOfPunishment) {
        this.valueOfPunishment = valueOfPunishment;
    }

    public double getCurrentBase() {
        return currentBase;
    }

    public void setCurrentBase(double currentBase) {
        this.currentBase = currentBase;
    }

    public double getMoneyEveryMonth() {
        return moneyEveryMonth;
    }

    public void setMoneyEveryMonth(double moneyEveryMonth) {
        this.moneyEveryMonth = moneyEveryMonth;
    }

    public double getMoneyQuarter() {
        return moneyQuarter;
    }

    public void setMoneyQuarter(double moneyQuarter) {
        this.moneyQuarter = moneyQuarter;
    }

    public Integer getOnWork() {
        return onWork;
    }

    public void setOnWork(Integer onWork) {
        this.onWork = onWork;
    }
}
